package com.woniu.teachmall.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Order {
    private Integer id;
    private String no;
    private Date addTime;
    private Integer userId;
    private Double totalMoney;
    private String address;
    private String accept;
    private String telphone;
    private String payType;
    private String status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAccept() {
        return accept;
    }

    public void setAccept(String accept) {
        this.accept = accept;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", addTime=" + addTime +
                ", userId=" + userId +
                ", totalMoney=" + totalMoney +
                ", address='" + address + '\'' +
                ", accept='" + accept + '\'' +
                ", telphone='" + telphone + '\'' +
                ", payType='" + payType + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}